public class test {
    public static void main(String[] args) {
        BinarySearchTree binarySearchTree = new BinarySearchTree();
        binarySearchTree.insert(1);
        binarySearchTree.insert(2);
        binarySearchTree.insert(3);
        binarySearchTree.insert(4);
        binarySearchTree.insert(5);
        binarySearchTree.insert(6);
        System.out.println(binarySearchTree.search(3));
        binarySearchTree.remove(3);

        //System.out.println(binarySearchTree);
        System.out.println(binarySearchTree.search(3));
        System.out.println(binarySearchTree.search(4));
    }
}
